import java.io.*;
import java.net.*;

public class URLConnectionRead {


	public static void main(String[] args) throws Exception {
		URL urlRead =null;
		URLConnection con= null;
		
		BufferedReader br= null;
		String line = null;
		try {
			urlRead = new URL("http://www.thundermail.co.kr:80/thundermail/index.jsp");
			con= urlRead.openConnection();
			br =new BufferedReader(new InputStreamReader(con.getInputStream()));
			
			while((line=br.readLine()) != null){
				System.out.println(line);
			}
			
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}finally{
			
		}
		


	}

}
